<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="cache" uri="/oscache.tld" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<jsp:include page="./include.jsp" flush="true"/>
    <style type="text/css">
		a:link, 
		a:visited { 
		color:#000000; 
		text-decoration:none; 
		} 
		a:hover, 
		a:active { 
		color:#000000; 
		text-decoration:none; 
		} 
	</style>
	<script type="text/javascript">
		function loadpage(url){
  			$("#iframe_url").attr("src", url+".jsp");
		}
	</script>
  </head>
  <body class="easyui-layout" onload="initinfo()">
  	<div data-options="region:'west',split:false,border:true" title="功能菜单列表" style="width:160px;">
		<ul class="easyui-tree">
		<li>
			<span>系统管理</span>
			<ul>
				<li>
					<span>用户管理</span>
					<ul>
						<li>
							<a id="stuManage" href="javascript:loadpage('a/a01/user/stuManage')"  onclick="elementForClick(this.id,this.name,'index')" name="学生管理">学生管理</a>
						</li>
						<li>
							<a id="teacherManage" href="javascript:loadpage('a/a01/user/teacherManage')"  onclick="elementForClick(this.id,this.name,'index')" name="教师管理" >教师管理</a>
						</li>
					</ul>
				</li>
				<li>
					<a id="a02" href="javascript:loadpage('a/a02')"  onclick="elementForClick(this.id,this.name,'index')" name="忘记密码" >忘记密码</a>
				</li>
				<li>
					<a id="a03" href="javascript:loadpage('a/a03')"  onclick="elementForClick(this.id,this.name,'index')" name="角色分配" >角色分配</a>
				</li>
				<li>
					<a id="a04" href="javascript:loadpage('a/a04')"  onclick="elementForClick(this.id,this.name,'index')" name="字典管理" >字典管理</a>
				</li>
				<li>
					<a id="a05" href="log/ESP.log"  onclick="elementForClick(this.id,this.name,'index')" name="系统日志" >系统日志</a>
				</li>
			</ul>
		</li>
		<li>
			<span>资料管理</span>
			<ul>
				<li>
					<a id="b01" href="javascript:loadpage('b/b01')"  onclick="elementForClick(this.id,this.name,'b/b01')" name="Report" >Report</a>
				</li>
				<li>
					<a id="b02" href="javascript:loadpage('b/b02')"  onclick="elementForClick(this.id,this.name,'b/b02')" name="教学资料">教学资料</a>
				</li>
			</ul>
		</li>	
		<li>
			<span>课程管理</span>
			<ul>
				<li>
					<a id="c01" href="javascript:loadpage('c/c01')"  onclick="elementForClick(this.id,this.name,'c/c01')" name="课题信息" >课题信息</a>
				</li>
				<li>
					<a id="c02" href="javascript:loadpage('c/c02')"  onclick="elementForClick(this.id,this.name,'c/c02')" name="个人计划">个人计划</a>
				</li>
				<li>
					<a id="c03" href="javascript:loadpage('c/c03')"  onclick="elementForClick(this.id,this.name,'c/c03')" name="小组计划">小组计划</a>
				</li>
			</ul>
		</li>	
		<li>		
			<span>学习交流</span>
			<ul>
				<li>
					<a id="d01" href="javascript:loadpage('d/d01')"  onclick="elementForClick(this.id,this.name)" name="疑难解答">疑难解答</a>
				</li>
				<li>
					<a id="d02" href="javascript:loadpage('d/d02')"  onclick="elementForClick(this.id,this.name)" name="课程评价">课程评价</a>
				</li>
			</ul>
		</li>	
		<li>		
			<span>用户中心</span>
			<ul>
				<li>
					<a id="e01" href="javascript:loadpage('e/e01')"  onclick="elementForClick(this.id,this.name)" name="个人信息">个人信息</a>
				</li>
				<li>
					<a id="e02" href="javascript:loadpage('e/e02')"  onclick="elementForClick(this.id,this.name)" name="小组信息">小组信息</a>
				</li>
				<li>
					<a id="e03" href="javascript:loadpage('e/e03')"  onclick="elementForClick(this.id,this.name)" name="密码修改">密码修改</a>
				</li>
			</ul>
		</li>
		</ul>
	</div>
	<div data-options="region:'north',border:false" style="height:80px;padding:5px;background-repeat:no-repeat;background-image: url(jquery-easyui-1.3.2/themes/icons/logo.png);">
		<div>
		<form id="loginInfoForm" style="position:absolute;right:35px;top:6px;">
		 	<font size="3" color="blue">
		 		<i>欢迎您,</i>
		 		<big id="webjx"></big>
		 		<!-- <%=session.getAttribute("user_id") %>&nbsp;&nbsp;<%=session.getAttribute("user_name") %> -->
		 		<script>
		 			function initinfo(){
		 				setInterval("webjx.innerHTML="+<%=session.getAttribute("user_id") %>,1000);
		 			}
				</script>
		 	</font>
		 	&nbsp;
		 	<a href="javascript:rollback();">安全退出</a>&nbsp;
		 	<a href="javascript:reloginopen();">重新登录</a>
 		</form>
 		</div>
	</div>
	<div data-options="region:'south',border:false" style="height:20px;background:#fff;padding:0px;">
		<center>
			©专业英语学校交流系统(ESP)&nbsp;&nbsp;&nbsp;&nbsp;
			联系我:<a href="mailto:463706336@qq.com" title="联系我">463706336@qq.com</a>&nbsp;&&nbsp;
			<a href="mailto:312709681@qq.com" title="联系我">312709681@qq.com</a>
		</center>
	</div>
	<div id="div_tittle" name="div_tittle" data-options="region:'center'">
		<iframe id="iframe_url" name="iframe_url" src="blank.jsp" height="100%" width="100%"
			 align="middle" frameborder="0" scrolling="auto" ></iframe>
	</div>
	
	<div id="dlg" class="easyui-dialog" title="登录信息" data-options="iconCls:'icon-save',modal:true,
				closed:true" style="width:240px;height:auto;padding:10px">
		<form id="form1" method="post">
		<table border="0" cellpadding="1" >
	    	<tr bordercolor="black">
	    		<td align="center" >登录名</td>
	    		<td align="center" >
	    			<input class="easyui-validatebox" type="text" id="user_id" name="user_id" data-options="required:true" value="<%=session.getAttribute("user_id")%>">
	    		</td>
	    	</tr>
	    	<tr bordercolor="black">
	    		<td align="center" >密    码</td>
	    		<td align="center" >
	    			<input class="easyui-validatebox" type="password" id="user_password" name="user_password" data-options="required:true"/>
	    		</td>
	    	</tr>
	    	<tr bordercolor="black">
	    		<td align="center" >
		    		<a href="javascript:void(0)" class="easyui-linkbutton" onclick="relogin()">登录</a>
	    		</td>
	    		<td align="center" >
	    			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#form1').form('clear');">重置</a>
	    		</td>
	    	</tr>
	    </table>
	    </form>
	</div>
  </body>
</html>
